#include <hidef.h>      /* common defines and macros */
#include "derivative.h"      /* derivative-specific definitions */
#include "System.h"
#include "uds_diag_appl.h"
#include "sys_scheduler.h"


void main(void) {
  /* put your own code here */
  
  HW_Init();
  hwa_e2Init();
  iniDiagnostics();
  UdsAppl_Init();

	EnableInterrupts;

  sys_scheduler();
  for(;;) {
    _FEED_COP(); /* feeds the dog */
  } /* loop forever */
  /* please make sure that you never leave main */
}
